Feat/sync to origin - #14
Conversation
一键生成通报文案中展示 code_branch,便于群通告直接说明本轮执行分支。 Co-authored-by: Cursor <cursoragent@cursor.com>
首页趋势图仅「失败用例数」折线点跳转详细执行历史时附带 case_result 参数,便于直接查看待跟进用例。 Co-authored-by: Cursor <cursoragent@cursor.com>
通过 GET /app/frontend-config 从 .env 下发仓库与取包模板配置,取包链接按行字段拼接且 platform 忽略大小写。 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (19)
📝 WalkthroughWalkthroughAdds four new env vars ( ChangesFrontend Config, Package URL & Drawer External Links
Sequence Diagram(s)sequenceDiagram
participant Browser
participant HistoryPage
participant appApi
participant FastAPI as FastAPI /app/frontend-config
participant Settings
Browser->>HistoryPage: mount
HistoryPage->>appApi: frontendConfig()
appApi->>FastAPI: GET /api/v1/app/frontend-config
FastAPI->>Settings: read TEST_CODE_REPO_URL, PACKAGE_INIT_URL, PACKAGE_NAME_MAC, PACKAGE_NAME_OH
Settings-->>FastAPI: raw env strings
FastAPI-->>appApi: FrontendConfigResponse (nulled empty strings)
appApi-->>HistoryPage: FrontendConfig
HistoryPage->>HistoryPage: setState(frontendConfig)
Browser->>HistoryPage: open execution detail drawer
HistoryPage->>resolvePackageUrl: resolve(frontendConfig, code_branch, start_time, platform)
resolvePackageUrl-->>HistoryPage: {kind: url|unknown_platform|unavailable}
HistoryPage-->>Browser: render 测试代码仓 link + 取包地址 link/text
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Documentation